<!DOCTYPE html>
<html data-ng-app="browser_app">

<head>
    <meta charset="utf-8" />
    <title>逗小粒工作室</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link rel="stylesheet" href="css/reset.css" type="text/css" />
    <link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="css/animate.css" type="text/css" />
    <link rel="stylesheet" href="css/swiper.min.css" type="text/css" />
    <link rel="stylesheet" href="css/app.css" type="text/css" />
    <link rel="stylesheet" href="css/browser_index.css" type="text/css" />

    <link rel="icon" type="image/x-icon" href="img/favicon.ico">

    <script>
        function browserRedirect() {
            var sUserAgent = navigator.userAgent.toLowerCase();
            var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
            var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
            var bIsMidp = sUserAgent.match(/midp/i) == "midp";
            var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
            var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
            var bIsAndroid = sUserAgent.match(/android/i) == "android";
            var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
            var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
            if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
                window.location.href = "index_mobile.html"; //移动端
            }
        };
        browserRedirect();
    </script>
</head>

<body ng-controller="browser_app">
    <div class="app" id="app" ui-view></div>

    <!-- jQuery -->
    <script src="vendor/jquery/jquery.min.js"></script>

    <!-- Angular -->
    <script src="vendor/angular/angular.js"></script>
    <script src="vendor/angular/angular-animate/angular-animate.js"></script>
    <script src="vendor/angular/angular-ui-router/angular-ui-router.js"></script>

    <!-- 轮播图 -->
    <script src="vendor/libs/swiper.min.js"></script>

    <!-- lazyload -->
    <script src="vendor/angular/oclazyload/ocLazyLoad.js"></script>

    <!-- App -->
    <script src="js/browser/browser_app.js"></script>
    <script src="js/browser/browser_config.js"></script>
    <script src="js/browser/browser_router.js"></script>
    <script src="js/browser/browser_main.js"></script>
    <script src="js/services/ui-load.js"></script>
    <script src="js/directives/browser_app_nav.js"></script>
</body>

</html>